package com.jboa.service;

import java.util.List;

import com.jboa.model.Employee;

public interface EmployeeBiz {

	public Employee login(String sn, String password);

	public Employee login(Employee employee);

	public List<Employee> findUsers(String username);

	// 用户注册判断用户名
	public String regist(Employee u);

	// 查看所有用户
	public List<Employee> operateUser();

	// 单查用户
	public Employee findSingleUser(Employee u);

	// 修改用户
	public void modifyUser(Employee u);

	// 新增用户
	public String newUser(Employee u, List<Integer> lrid);

	// 删除用户
	public void removeUser(Employee u);

	// 查看用户所属角色
	public List<Integer> getRole(Employee u);

	// 改变用户所属角色
	public String changeUR(List<Integer> lrid, Employee u);
}
